import { Base } from '../../utils/base.js';

class Rank extends Base {
  constructor() {
    super();
  }

  getFeedData(callback) {
    var param = {
      url: 'pets/feedRank',
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }

  getCollectData(callback) {
    var param = {
      url: 'pets/collectRank',
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }


}

export { Rank };